package cn.sfrog.project.biz.web.vo.account;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * 分页数据
 */
@Data
@ApiModel(description = "添加银行卡表单VO")
public class AppUserBankCardFormVO {




    @ApiModelProperty("持卡人")
    @NotBlank(message = "持卡人不能为空")
    @Length(max = 50,message = "持卡人最长不能超过50位")
    private String cardHolder;

    @ApiModelProperty("开户行")
    @NotBlank(message = "开户行不能为空")
    @Length(max = 50,message = "开户行最长不能超过50位")
    private String bank;

    @ApiModelProperty("银行卡号")
    @NotBlank(message = "银行卡号不能为空")
    @Length(max = 50,message = "银行卡号最长不能超过50位")
    private String bankCardNumber;
}
